package com.zsd.android.opengldemo.view.widget;

import android.content.Context;
import android.opengl.GLSurfaceView;
import android.util.AttributeSet;

import com.zsd.android.opengldemo.renderer.SkinRenderer;

public class SkinView extends GLSurfaceView {

    public SkinView(Context context) {
        super(context);
    }

    public SkinView(Context context, AttributeSet attrs) {
        super(context, attrs);

        setEGLContextClientVersion(2);
        setRenderer(new SkinRenderer(this));
        setRenderMode(RENDERMODE_CONTINUOUSLY);
    }
}
